package net.youball.entity;

/**
 * BallWager entity. @author MyEclipse Persistence Tools
 */

public class BallWager extends  BaseEntity implements
		java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer wagerId;
	private String wagerName;
	private Integer wagerPrice;
	private Integer state;

	// Constructors

	/** default constructor */
	public BallWager() {
	}

	/** full constructor */
	public BallWager(String wagerName, Integer wagerPrice, Integer state) {
		this.wagerName = wagerName;
		this.wagerPrice = wagerPrice;
		this.state = state;
	}

	// Property accessors

	public Integer getWagerId() {
		return this.wagerId;
	}

	public void setWagerId(Integer wagerId) {
		this.wagerId = wagerId;
	}

	public String getWagerName() {
		return this.wagerName;
	}

	public void setWagerName(String wagerName) {
		this.wagerName = wagerName;
	}

	public Integer getWagerPrice() {
		return this.wagerPrice;
	}

	public void setWagerPrice(Integer wagerPrice) {
		this.wagerPrice = wagerPrice;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	@Override
	public String toString() {
		return "BallWager [state=" + state + ", wagerId=" + wagerId
				+ ", wagerName=" + wagerName + ", wagerPrice=" + wagerPrice
				+ "]";
	}
	
}